home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / ptv1n2.arc / DRAW.H < prev    next >
C/C++ Source or Header  |  1990-06-14  |  942b  |  24 lines

  1. /*   draw.h  -- Interactive drawing utilities
  2.  */
  3. void pencil(void);
  4. void spraycan(void);
  5. void drawlines(void);
  6. void erase(void);
  7. void drawcircle(void);
  8. void mallocerror(void);
  9.  
  10. /*   The fill parameters, drawing colors, and so forth are all kept as global
  11.  *   variables. From time to time the current drawing, fill, and line
  12.  *   styles may be changed, so before using any drawing function make sure
  13.  *   the various drawing parameters are reset to these global values.
  14.  */
  15. extern int globalfillstyle;  /* The fill style that should be used */
  16. extern int globalfillcolor;  /* Holds the fill color that should be used */
  17. extern int globaldrawcolor;  /* Holds the drawing color to use */
  18. extern int globallinestyle;  /* Holds the line style that should be used */
  19.  
  20. extern int wl, wt, wr, wb;
  21.  
  22. #define ERASERSIZE 3         /* Half the size of the eraser */
  23. #define SPRAYSIZE 15         /* Size of spray can spray area */
  24.